package com.allo2o.common.mapper;

import com.allo2o.common.domain.AgencyDO;
import com.allo2o.shared.web.result.Paging;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AgencyDOMapper {
    int deleteByPrimaryKey(String agencyId);

    int insert(AgencyDO record);

    int insertSelective(AgencyDO record);

    AgencyDO selectByPrimaryKey(String agencyId);

    int updateByPrimaryKeySelective(AgencyDO record);

    int updateByPrimaryKey(AgencyDO record);

    List<AgencyDO> selectProvAgents();

    int updateProvProfit(AgencyDO agencyDO);

    int updateCityProfit(AgencyDO agencyDO);
}